package com.cangxuan.backend.service;

import com.cangxuan.backend.entity.OrderForm;
import com.cangxuan.backend.entity.Registration;

import java.util.List;
import java.util.Map;

/**
 * Author: 陈青石
 * 挂单接口
 */
public interface IRegistrationService {

    List<Registration> selectRegistrationsByGoodsId(int goodsId);

    Map<String,Object> changeCount(List<Registration> registrationList);

    void successPay(List<OrderForm> orderFormList);

    int cancelPay(List<OrderForm> orderFormList);

    void overTime(List<OrderForm> orderFormList);


}
